<% layout('boilerplate') -%>
<link rel="stylesheet" href="<%= linkPath %>/css/consumer.css" />
<link rel="stylesheet" href="<%= linkPath %>/css/main.css" />
<link rel="stylesheet" href="<%= linkPath %>/css/consumerresponsive.css" />
<script type="text/javascript" src="/lib/jq.lazyload.min.js"></script>
<style>

</style>
<div class="consumer">
    <div class="container">
        <div class="top-head">
            <div class="row">
                <div class="col-sm-12">
                    <div class="col-sm-4 top-head-item wow fadeInDown" data-wow-duration="1200ms" data-wow-delay="0">
                        <div class="item-box" style="background-image:url('<%= linkPath%>/images/consumer/box.png');">
                            <div class="item-head">
                                <img src="<%= linkPath%>/images/consumer/01.png" alt="">
                                <span class="item-title">试管婴儿</span>
                            </div>
                            <div class="item-text">
                                帮助国内不孕不育患者或者有生育困扰人士，提供国内外试管婴儿医疗服务，圆夫妻家庭梦。
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-4 top-head-item wow fadeInDown" data-wow-duration="1200ms" data-wow-delay="0">
                        <div class="item-box" style="background-image:url('<%= linkPath%>/images/consumer/box.png');">
                            <div class="item-head">
                                <img src="<%= linkPath%>/images/consumer/02.png" alt="">
                                <span class="item-title">第三方辅助生殖</span>
                            </div>
                            <div class="item-text">
                                提供一对一定制辅助生育服务，同性情侣也可以在国外合法拥有孩子。
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-4 top-head-item wow fadeInDown" data-wow-duration="1200ms" data-wow-delay="0">
                        <div class="item-box" style="background-image:url('<%= linkPath%>/images/consumer/box.png');">
                            <div class="item-head">
                                <img src="<%= linkPath%>/images/consumer/03.png" alt="">
                                <span class="item-title">冻精冻卵</span>
                            </div>
                            <div class="item-text">
                                为不孕或其他原因的家庭提供冻精冻卵服务，在未来更方便的拥有属于自己的宝宝。
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="top-bottom" style="background-image: url('<%= linkPath%>/images/consumer/service.png');">
            <div class="row">
                <div class="col-sm-6 col-xs-12 top-bottom-left">
                    <h3>服务项目</h3>
                </div>
                <div class="col-sm-6 col-xs-12 top-bottom-right">
                    <div class="col-xs-4 wow fadeInRight" data-wow-duration="600ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/consumer/pic01.png" alt="">
                    </div>
                    <div class="col-xs-4 wow fadeInRight" data-wow-duration="1000ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/consumer/pic02.png" alt="">
                    </div>
                    <div class="col-xs-4 wow fadeInRight" data-wow-duration="1400ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/consumer/pic03.png" alt="">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="bottom-box">
        <div class="container">
            <div class="row">
                <img style="width: 60%;margin-right: 5%;" class="pull-right" src="<%= linkPath%>/images/consumer/object.png" alt="">
            </div>
            <div class="row col-sm-12" style="padding: 0;">
                <div>
                    <h3>服务对象</h3>
                </div>
                <div class="card-box clearfix">
                    <div class="card-item">
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/1-1.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/1-2.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/1-3.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/1-4.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/1-5.png" alt="">
                        </div>
                    </div>
                    <div class="card-item hide">
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/2-1.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/2-2.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/2-3.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/2-4.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/2-5.png" alt="">
                        </div>
                    </div>
                    <div class="card-item hide">
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/3-1.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/3-2.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/3-3.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/3-4.png" alt="">
                        </div>
                        <div class="bottom-card">
                            <img class="lazy" data-original="<%= linkPath%>/images/consumer/card/3-5.png" alt="">
                        </div>
                    </div>
                </div>
                <div class="card-pagi-box text-center clearfix">
                    <div class="pagi-item">
                        <img src="<%= linkPath%>/images/consumer/man.png" alt="">
                        <div class="pagi-line-box">
                            <div class="pagi-line">
                                <i class="s-roll"></i>
                                <i class="m-roll"></i>
                            </div>
                            <span class="m-line"></span>
                        </div>
                        <div class="pagi-text active">男性不育</div>
                    </div>
                    <div class="pagi-item">
                        <img src="<%= linkPath%>/images/consumer/woman.png" alt="">
                        <div class="pagi-line-box">
                            <div class="pagi-line active">
                                <i class="s-roll"></i>
                                <i class="m-roll"></i>
                            </div>
                            <span class="m-line"></span>
                        </div>
                        <div class="pagi-text">女性不育</div>
                    </div>
                    <div class="pagi-item">
                        <img src="<%= linkPath%>/images/consumer/other.png" alt="">
                        <div class="pagi-line-box">
                            <div class="pagi-line active">
                                <i class="s-roll"></i>
                                <i class="m-roll"></i>
                            </div>
                            <span class="m-line"></span>
                        </div>
                        <div class="pagi-text">其他问题</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--跳转到对比-->
    <div class="container-fluid footerBox">
        <div class="row">
            <div class="col-xs-6 imgBox hidden-xs">
                <img src="<%= linkPath %>/images/consumer/footer.jpg" alt="">
            </div>
            <div class="col-xs-12 col-sm-6 textBox">
                <h3>国内外试管流程与对比</h3>
                <p>很多家庭在做试管婴儿前会有顾虑，价格？成功率？安全？什么才是各个家庭最关心的？</p>
                <div class="codeBox">
                    <div class="follow">
                        <p>&rarr;</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--跳转到对比-->
</div>
<script>
    $(function () {
        new WOW({animateClass: 'animated'}).init();

        $(document).on("click",".footerBox .textBox",function () {
            window.location.href = '/process';
        });

        $('img.lazy').lazyload(
            {
                threshold: 200,//滚动条在离目标位置还有200的高度时就开始加载图片,可以做到不让用户察觉
                effect: 'fadeIn',//show fadeIn slideDown
                //placeholder: '',//设置加载中的占位图片路径，如image.load.gif，个人建议不设置，可以通过css设置背景图片加提前设置src=reload.gif的方式，来达到图片正在加载中的效果
            }
        );

        $(document).on("click",".bottom-box .pagi-item",function () {
            //避免盒子高度缺失，再重新加载图片之前先赋值高度
            $(".card-box").css('height',$('.card-box').height()+'px')

            var $thisIndex = $(this).index();
            $('.card-item').eq($thisIndex).removeClass('hide').siblings().addClass('hide');

            $('.pagi-line').addClass('active');
            $(this).find('.pagi-line').removeClass('active');

            $('.pagi-text').removeClass('active');
            $(this).find('.pagi-text').addClass('active');

            $('.bottom-box img.lazy').lazyload(
                {
                    threshold: 200,//滚动条在离目标位置还有200的高度时就开始加载图片,可以做到不让用户察觉
                    effect: 'fadeIn',//show fadeIn slideDown
                    //placeholder: '',//设置加载中的占位图片路径，如image.load.gif，个人建议不设置，可以通过css设置背景图片加提前设置src=reload.gif的方式，来达到图片正在加载中的效果
                }
            );
        })
    })
</script>
